package edu.sctu.nieyu.day20150515.texttwo;

/**
 * Created by user01 on 2015/5/12.
 */
public class MainOutput {

    public static void main(String[] args) {

        StudentMessage[] studentarray = new StudentMessage[10];

        for (int i = 0; i <10 ; i++) {
            StudentMessage studentMessage = new StudentMessage("刘大",58+i,19+i,"","北京");

            studentarray[i] = studentMessage;


        }
        StudentOne studentone = new StudentOne(studentarray);
        StudentTwo studenttwo = new StudentTwo(studentarray);

        System.out.println(studenttwo.getInformation().size());
       System.out.println( studentone.getInformation().get(0).getName()+studentone.getInformation().get(0).getGrade()+
               studentone.getInformation().get(0).getAge());


        studentone.getString(25);


        System.out.println( studentone.getInformation().get(0).getName()+studentone.getInformation().get(0).getGrade()+
                studentone.getInformation().get(0).getAge());


















    }
}
